* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #FFFFFF;
    height: 100vh;
    overflow: hidden;
    padding-top: 80px;
    /* 为顶部软件名称留出空间 */
}


/* 软件名称样式 - 显示在页面顶部 */

.software-name {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(10px);
    color: #000000;
    text-align: center;
    padding: 20px 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 1000;
}

.container {
    display: flex;
    width: 1440px;
    height: 900px;
    margin: 0 auto;
    background-color: #FFFFFF;
}


/* 左侧内容区域 */

.left-section {
    width: 629px;
    height: 100%;
    position: relative;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.logo {
    position: absolute;
    top: 50px;
    left: 50px;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #000000;
}

.content {
    position: relative;
    top: 244px;
    left: 125px;
    width: 629px;
    height: 664px;
}

.text-content {
    width: 396px;
    height: 240px;
    margin-bottom: 108px;
}

.text-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 50px;
    line-height: 1.5em;
    color: #000000;
    margin-bottom: 5px;
}

.text-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 35px;
    line-height: 1.5em;
    color: #000000;
    margin-bottom: 53px;
}

.text-content p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
    color: #000000;
    margin-bottom: 6px;
}

.register-link {
    color: #4D47C3;
    cursor: pointer;
    text-decoration: underline;
}

.illustration {
    position: absolute;
    top: 108px;
    right: 0;
    width: 313px;
    height: 556px;
}

.illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 右侧登录表单区域 */

.right-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.form-container {
    width: 369px;
    height: 543px;
    position: relative;
}

.form-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: #000000;
    margin-bottom: 73px;
    text-align: left;
}

.login-form {
    margin-bottom: 54px;
}

.form-group {
    margin-bottom: 38px;
    position: relative;
}

.input-wrapper {
    position: relative;
    width: 369px;
    height: 62px;
}

.input-wrapper input {
    width: 100%;
    height: 100%;
    background-color: #F0EFFF;
    border: none;
    border-radius: 8px;
    padding: 20px 26px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #A7A3FF;
    outline: none;
}

.input-wrapper input::placeholder {
    color: #A7A3FF;
}

.input-wrapper input:focus {
    background-color: #E8E6FF;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-password {
    position: absolute;
    right: 0;
    top: 79px;
}

.forgot-password a {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #B0B0B0;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.login-btn {
    width: 369px;
    height: 59px;
    background-color: #4D47C3;
    border: none;
    border-radius: 9px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
    box-shadow: 0px 4px 61px 0px rgba(77, 71, 195, 0.4);
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #3D37B3;
    transform: translateY(-2px);
}

.divider {
    text-align: center;
    margin: 54px 0 45px 0;
}

.divider span {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #B5B5B5;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    width: 41.46px;
    height: 41.46px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-btn img {
    width: 100%;
    height: 100%;
}


/* 响应式设计 */

@media (max-width: 1440px) {
    .container {
        width: 100%;
        max-width: 1440px;
    }
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    .left-section {
        width: 100%;
        height: auto;
        padding: 30px;
    }
    .content {
        position: static;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .text-content {
        width: 100%;
        margin-bottom: 30px;
    }
    .text-content h2 {
        font-size: 36px;
    }
    .text-content h3 {
        font-size: 24px;
    }
    .illustration {
        position: static;
        width: 250px;
        height: 400px;
        margin: 0 auto;
    }
    .right-section {
        width: 100%;
        padding: 30px;
    }
    .form-container {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    .input-wrapper {
        width: 100%;
    }
    .login-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .left-section {
        padding: 20px;
    }
    .text-content h2 {
        font-size: 28px;
    }
    .text-content h3 {
        font-size: 20px;
    }
    .illustration {
        width: 200px;
        height: 320px;
    }
    .right-section {
        padding: 20px;
    }
    .form-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
}